Skip to main content

API Reference

Introduction

You can interact with the API via HTTP requests from any language through our API Gateway. Behind the gateway there are a set of services that you will need to communicate with to achieve a certain task. To communicate with one service, you will need to add the <service_path> between the <base_url> and the endpoint <route> you're trying to hit. This means, requests are of the format <base_url/>/<service_path>/<route>.

E.g. https://api-gateway.erag.prod.llmhub.t-systems.net/config-manager/redoc, where:

Registration

For registration please contact the AIFS team via example@t-systems.com

Authentication

To authenticate you need to obtain a Bearer Token from the authentication endpoint and then set the access_token in the header of all your subsequent requests.

Example Authentication

# Authenticate via 
curl --location '<BASE_URL>/api/v1/auth/user' \
--header 'Content-Type: application/json' \
--data '{
"username": "<USERNAME>",
"password": "<PASSWORD>"
}'

# And then get chat sessions via
curl --location '<BASE_URL>/chat-session-manager/api/v1/sessions/' \
--header 'Authorization: Bearer <ACCESS_TOKEN>'

Services

Name<service_path> DocsDescription
API Gateway-linkEntrypoint for authentication and all backend services.
Config Managerconfig-managerlinkManagement of Tenant and RAG Configurations.
User Manageruser-managerlinkManagement of Users, Roles, and User-Groups.
File Managerfile-managerlinkManagement of Files, File-Groups, Knowledge Bases (KBs) and File-Access-Management.
Ingest Masteringest-masterlinkOrchestration of file ingestion tasks, based on the selected ingestion pipeline via the Config Manager.
Chat Session Managerchat-session-managerlinkManagement of chat sessions, session configurations, session history, and messages feedback.
Query Pipelinesquery-pipelineslinkGeneration of chat responses based on the selected query pipeline via the Config Manager.
Web Extractionweb-extraction-apilinkWeb crawling with built-in file management and ingestion.
© Deutsche Telekom AG